<template>
  <div id="app">
    <div id="nav">
      <router-link to="/about">About</router-link> 
      <router-link to="/contact">contact</router-link> 
      <router-link to="/">Home</router-link> 
      <router-link to="/product">product</router-link> 
      <router-link to="/wechat">wechat</router-link>
    </div>
    <router-view/>
  </div>
</template>

<style lang="scss">
#nav {
  position: fixed;
  left: 0;
  bottom: 0;
  padding: 20px 10px;
  width: 100%;
  background: white;
  a {
  	width: 20%;
  	display: inline-block;
  	text-align: center;
    font-weight: bold;
    color: #2c3e50;
    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
